package com.v2.k27;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 测试事务3
 */
public class Test {

	public static void main(String[] args) {

		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);

		TransactionManagerService transactionManagerService
				= (TransactionManagerService)applicationContext.getBean("transactionManagerService");

		transactionManagerService.test();

	}

}
